package com.study.design.model.structPattern.composite.example;

/**
* @Name: VedioFile
* @Description: 叶子组件：视频文件
* @Author: 李超	lc_jack@foxmail.com
* @CreateDate: 2017-2-11 上午11:31:01 
* @Version: V1.0
 */
public class VedioFile implements AbstractFile {
	
	private String name ;

	public VedioFile(String name) {
		this.name = name;
	}

	@Override
	public void killVirus() {
		System.out.println("--视频文件:" + name + ",进行查杀！");
	}
}
